<?php
	$uri = $_SERVER['REQUEST_URI'];
	$uri_var = explode('/', $uri);
	
	$count = count($uri_var);
	$dot = "";
	
	if($uri_var[1] == "mvz-admin" || $uri_var[1] == "mvz-config")
	{
		for($i=0; $i<$count-2; $i++)
		{
			$dot = $dot."../";
		}
	}
	
	$string_path_begin = "mvz-config/";
	
	$num = 1; $type = "end"; $path = $string_path_begin."connection/con_close.php";
	$string = "config_".$type."_".$num; ${$string} = $dot.$path; if(is_file(${$string})){include(${$string});}else{die("Error.. Cannot load ".ucfirst($type)." Configuration ".$num);}
	
?>